package designPatterns.P07_装饰器模式_Decorator.P03_Shape.decorator;

import designPatterns.P07_装饰器模式_Decorator.P03_Shape.Shape;

public class Red extends Color{
    public Red(Shape shape) {
        super(shape);
    }

    public void setBorderColor() {
        System.out.println("red border");
    }

    @Override
    public void draw() {
        System.out.println("绘制红色图形");
    }
}
